package 实验三运行;

import 实验三.*;
//import 实验三.Student;
//import 实验三.Teacher;

public class Test {
public static void main(String[] args) {
	Teacher t1= new Teacher(1, "王老师", '男', "C"); 
	Course c1 = new Course(13, "101", "7:50", t1);
	Student s1 = new Student(1, "Tom", '男',t1, c1);  
	Teacher t2=new Teacher(2, "李老师", '女', "Python");
	Course c2=new Course(20, "102", "9:40", t2);
	Student s2 = new Student(2, "Emma", '女',t2,c2);
    Teacher t3=new Teacher(3, "张老师", '男', "JAVA");
    Course c3 = new Course(21, "103", "13:30", t3);
    Student s3 = new Student(2, "lihua", '男',t2,c3);
    System.out.println("教师信息:\n" + t1 + "\n" + t2 + "\n" + t3);  
    System.out.println("学生信息:\n" + s1 + "\n" + s2 + "\n" + s3);  
} 
} 
